package com.cssl.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

import lombok.Data;

/**
 * 员工工资表
 * @TableName sal_salary
 */
@TableName(value ="sal_salary")
@Data
public class SalSalary implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private int id;

    /**
     * 员工id
     */
    private int staff_Id;

    /**
     * 基础工资
     */
    private BigDecimal base_salary;

    /**
     * 加班费
     */
    private BigDecimal overtime_salary;

    /**
     * 生活补贴
     */
    private BigDecimal subsidy;

    /**
     * 奖金
     */
    private BigDecimal bonus;

    /**
     * 总工资
     */
    private BigDecimal total_salary;

    /**
     * 早退扣款
     */
    private BigDecimal late_deduct;

    /**
     * 休假扣款
     */
    private BigDecimal leave_deduct;

    /**
     * 早退扣款
     */
    private BigDecimal leave_early_deduct;

    /**
     * 旷工扣款
     */
    private BigDecimal absenteeism_deduct;

    /**
     * 月份
     */
    private String month;

    /**
     * 
     */
    private String remark;

    /**
     * 
     */
    private Date create_time;

    /**
     * 
     */
    private Date update_time;

    /**
     * 
     */
    private Integer is_deleted;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    @TableField(exist = false)
    private List<SysStaff> sysStaffs;

    @TableField(exist = false)
    private List<SysDept> depts;


    public SalSalary() {
    }

    public SalSalary(int staff_Id, BigDecimal base_salary, BigDecimal overtime_salary, BigDecimal subsidy, BigDecimal bonus, BigDecimal total_salary, BigDecimal late_deduct, BigDecimal leave_deduct, BigDecimal absenteeism_deduct, String month, String remark) {
        this.staff_Id = staff_Id;
        this.base_salary = base_salary;
        this.overtime_salary = overtime_salary;
        this.subsidy = subsidy;
        this.bonus = bonus;
        this.total_salary = total_salary;
        this.late_deduct = late_deduct;
        this.leave_deduct = leave_deduct;
        this.absenteeism_deduct = absenteeism_deduct;
        this.month = month;
        this.remark = remark;
    }

}